package kr.hkit.powerjava.chapter5.work;

import java.util.Scanner;

public class exercise8a {
	public static void main(String[] args) {
		int year;
		int age;
		int family;
		
		Scanner input = new Scanner(System.in);
		
		System.out.println("무주택 기간을 입력하시오. (년단위)");
		year = input.nextInt();
		
		System.out.println("가주의 연령을 입력하시오.");
		age = input.nextInt();
		
		System.out.println("가족의 수를 입력하시오.");
		family = input.nextInt();
		
		System.out.println((year >= 3) && (age >= 40) && (family >= 3));
		
	}

}
